package com.example.permission.enums;

import lombok.Getter;

/**
 * token类型
 *
 * @author xuwenqian
 */
@Getter
public enum TokenTypeEnum {
    /**
     * 状态
     */
    API("1", "API"),
    USER("2", "USER"),
    ;

    private String code;
    private String name;

    TokenTypeEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }
}
